use actix_web::{get, Responder, HttpResponse};
use serde_json::json;

#[get("/")]
pub async fn controller() -> impl Responder {
    HttpResponse::Ok().json(json!({
        "success":"true",
        "code":"200",
        "message":"success"
    }))
}